home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000159_jaltman@watsun.cc.columbia.edu_Sat Jun 14 13:33:40 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  110 lines

  1. Article: 14388 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
  3. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: HTTP Proxy in ckermit
  6. Date: 14 Jun 2003 08:44:17 GMT
  7. Organization: Columbia University
  8. Lines: 93
  9. Message-ID: <bcen91$jsr$1@newsmaster.cc.columbia.edu>
  10. References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu> <f270e7b1.0306130713.2ecc7069@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1055580257 20379 128.59.39.2 (14 Jun 2003 08:44:17 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 14 Jun 2003 08:44:17 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14388
  16.  
  17. Kermit only supports HTTP CONNECT.  Kermit absolutely does not support
  18. the use of POST/GET sequences to transmit data to a Proxy.  If there is a 
  19. desire for that functionality there are two ways of getting it:
  20.  
  21.  * write the code and submit it as a patch to kermit-support@columbia.edu
  22.  
  23.  * find specifications for the protocol and send them to
  24.    kermit-support@columbia.edu.  I will add the request to my list of 
  25.    things to do when I have time.  The easiest way to ensure that I have
  26.    time is to fund the development of the code.
  27.  
  28. As for the bugs, please file a bug report with kermit-support@columbia.edu.
  29. I will do my best to look into the problems.
  30.  
  31. Jeffrey Altman
  32. Volunteer Kermit Developer
  33.  
  34.  
  35. In article <f270e7b1.0306130713.2ecc7069@posting.google.com>,
  36. mchamber <michel.chamberland@jtax.com> wrote:
  37. : It looks like there is still quite a bit of bugs in the http proxy
  38. : code, for example the user variable in http_connect (ckcnet.c) is set
  39. : to "" so the if (user) always return true, therfore a
  40. : Proxy-authorization and Extension header is always sent even if
  41. : authentication is not desired. The /AGENT argument to http commands
  42. : seems to have no effect on the headers sent to the server (its always
  43. : C-Kermit). An other problem i found is that the proxy code only
  44. : support the CONNECT call but this call is not OK with our proxy
  45. : because they dont want us to stream anything throught the proxy. It
  46. : does support however keeping the connection alive for multiple POST
  47. : and GET. I guess ill have to figure out the kermit code and try to fix
  48. : it or am I not using kermit right?
  49. : Thanks,
  50. : mchamber
  51. : jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
  52. : > This should be fixed in the current release.
  53. : > Please upgrade.
  54. : > 
  55. : > 
  56. : > In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
  57. : > mchamber <michel.chamberland@jtax.com> wrote:
  58. : > : Hi, I am trying to write a small script to download pages via a proxy
  59. : > : using the http protocol. Somehow though it seems that kermit is
  60. : > : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
  61. : > : to connect directly to the host. As you can see from the output below
  62. : > : kermit says its trying to connect to the iternet address instead of
  63. : > : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
  64. : > : 
  65. : > : Sincerely,
  66. : > : mchamber
  67. : > : 
  68. : > : 
  69. : > : Here is the relevant part of the script:
  70. : > : 
  71. : > : <snip>
  72. : > : #!/usr/bin/kermit +
  73. : > : 
  74. : > : SET TCP HTTP-PROXY 192.168.40.1:8080
  75. : > : HTTP OPEN www.slashdot.org 80
  76. : > : http close
  77. : > : quit
  78. : > : </snip>
  79. : > : 
  80. : > : Here is the output of the script:
  81. : > : 
  82. : > : <snip>
  83. : > : C-Kermit 8.0.201, 8 Feb 2002, for Linux
  84. : > :  Numeric: 800201
  85. : > :  Type COPYRIGHT for copyright information.
  86. : > : 
  87. : > : SET TCP parameters:
  88. : > :  Reverse DNS lookup: off
  89. : > :  DNS Service Records lookup: off
  90. : > :  Keepalive: on
  91. : > :  Linger: off
  92. : > :  DontRoute: off
  93. : > :  Nodelay: off
  94. : > :  Send buffer: (default size)
  95. : > :  Receive buffer: (default size)
  96. : > :  address: (none)
  97. : > :  http-proxy: 192.168.40.1:8080
  98. : > : 
  99. : > :  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
  100. : > : ?HTTP Connection failed.
  101. : > : </snip>
  102.  
  103.  
  104.  Jeffrey Altman * Volunteer Developer      Kermit 95 2.1 GUI available now!!!
  105.  The Kermit Project @ Columbia University  SSH, Secure Telnet, Secure FTP, HTTP
  106.  http://www.kermit-project.org/            Secured with MIT Kerberos, SRP, and 
  107.  kermit-support@columbia.edu               OpenSSL.
  108.